str = eval(input("请输入一串数字"))
str_list = list(str)
str_list.sort(reverse=True)
print(str_list)